<div ng-controller="updateLotteryCtrl
">
    <h4>添加抽奖活动</h4>

    <form class="form account-form">
        <label class="control-label">抽奖活动名称：</label>
        <input class="form-control" ng-model="activityName" required tabindex="5">
        <label class="control-label">摇奖次数(次/人)：</label>
        <input class="form-control" ng-model="limitCount" required tabindex="5">
        <label class="control-label">活动描述：</label><br />
        <textarea style="width:600px;height:200px;" ng-model="activityDesc" required tabindex="5"></textarea>
        <br /><br />
        <label class="control-label">规则描述：</label><br />
        <textarea style="width:600px;height:200px;" ng-model="ruleDesc" required tabindex="5"></textarea>
        <br /><br />
        <label class="control-label">开始时间：</label>
        <input type="text" id="activityBeginTime" data-provide="datepicker" class="datepicker"  data-date-format="yyyy-mm-dd"  ng-model="activityBeginTime"  required >
        <label class="control-label">结束时间：</label>
        <input type="text" id="endTime" data-provide="datepicker" class="datepicker"  data-date-format="yyyy-mm-dd"  ng-model="endTime"  required >
        <br /><br />
        <div class="form-group">
            <button ng-click="cannel()" class="btn btn-xs btn-primary">取消</button>
            <button ng-click="update()" class="btn btn-xs btn-primary" type="submit">保存</button>
        </div>
    </form>
</div>

